package com.feng.service.impl;

import com.feng.bean.UserAddress;

import java.util.ArrayList;
import java.util.List;

public class UserServiceImpl implements UserService {

    /**
     * 模拟从数据库中,查到信息,等待订单系统调用
     * @param id
     * @return
     */
    public List<UserAddress> getUserAddress(String id) {
        List<UserAddress> list = new ArrayList<UserAddress>();
        list.add(new UserAddress("小明","北京"));
        list.add(new UserAddress("小明","上海"));
        return list;
    }
}
